#-*-Makefile-*- vim:syntax=make

#
# To install OpenOCD, see the following wiki page:
# http://docs.tinyos.net/index.php/OpenOCD_for_IMote2
#

TOSMAKE_PROGRAMMER_TYPE = openocd

PROGRAMMER = imote2-ocd-program.py

program: setid FORCE
	@echo -e '$(INFO_STRING) installing $(TARGET) binary using $(TOSMAKE_PROGRAMMER_TYPE)'
	$(PROGRAMMER) $(INSTALL_BIN)
